484a8f87289db2338daf3c95d6045d49a805d914,src/main/java/gluu/scim2/client/BaseScim2ClientImpl.java,BaseScim2ClientImpl,createPersonString,#String#String#,696

Before Change



		addAuthenticationHeader(post);

		if (mediaType.equals(MediaType.APPLICATION_JSON)) {
			post.setRequestHeader("Accept", MediaType.APPLICATION_JSON);
			post.setRequestEntity(new StringRequestEntity(person, "application/json", "utf-8"));
		}

		if (mediaType.equals(MediaType.APPLICATION_XML)) {
			post.setRequestHeader("Accept", MediaType.APPLICATION_XML);
			post.setRequestEntity(new StringRequestEntity(person, "text/xml", "utf-8"));

		}

After Change


		post.getParams().setParameter(HttpMethodParams.HTTP_CONTENT_CHARSET, "utf-8");

		addAuthenticationHeader(post);
		post.setRequestHeader("Accept", Constants.MEDIA_TYPE_SCIM_JSON);

		post.setRequestEntity(new StringRequestEntity(person, Constants.MEDIA_TYPE_SCIM_JSON, "utf-8"));

		/*
		if (mediaType.equals(MediaType.APPLICATION_JSON)) {